<?php $path_to_icon = base_url() . 'layout/admin/assets/icons/'; ?>
<div class="pad20">
    <!-- Big buttons -->
    <ul class="dash">
        <?php
            if(count($iconMenuItems) > 0){
                foreach ($iconMenuItems as $item)
                    echo '<li>
                        <a href="' . $item['href'] . '" title="' . $item['title'] . '" class="tooltip">
                            <img src="' . $path_to_icon . $item['img'] . '" alt="" />
                            <span>' . $item['span_title'] . '</span>
                        </a>
                    </li>';
            }
        ?>
    </ul>
    <!-- End of Big buttons -->
</div>